package MainGUI;

import java.io.IOException;
import RTSP.Server;
import chat.ChatServer;

public class runACEServer {

	static MainServerGUI gui;
	static ChatServer chat;
	static Server RTSP;
	
	/**
	 * Main method to run ACE4.
	 * @param args
	 */
	public static void main(String[] args) {
		
		gui = new MainServerGUI(chat);
		gui.setVisible(true);
		
		try {
			chat = new ChatServer(9399, "ACE4 Test Server", gui);
			chat.start();

			Server RTSP = new Server();
			RTSP.main(null);
		} 
		catch (IOException e) {
			
			e.printStackTrace();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}

}
